package com.wei.czz.common.vo.admin.role;

import com.alibaba.excel.annotation.ExcelProperty;
import com.wei.czz.common.vo.common.UploadVo;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2024-11-23 21:41:06
 * className: RoleUploadVo
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class RoleUploadVo extends UploadVo {

    /**
     * 角色名称
     */
    @NotBlank(message = "角色名称不能为空")
    @ExcelProperty(value = "角色名称")
    private String roleName;

    /**
     * 角色键
     */
    @NotBlank(message = "角色键不能为空")
    @ExcelProperty(value = "角色键")
    private String roleKey;

    /**
     * 业务类型名称
     */
    @NotBlank(message = "业务类型不能为空")
    @ExcelProperty(value = "业务类型")
    private String businessTypeName;

    /**
     * 排序等级
     */
    @NotBlank(message = "排序等级不能为空")
    @ExcelProperty(value = "排序等级")
    private Integer sort;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

}
